// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Text {
    property string textmenu
    property variant action
    text: textmenu
    font.pointSize: 8
    font.family: "Tahoma"
    MouseArea {
        anchors.fill: parent
        hoverEnabled: true
        onEntered: font.underline = true
        onExited: font.underline = false
        onClicked: { action.trigger() }
    }
}
